package com.bjut.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.struts.action.ActionForm;

public class Salary extends ActionForm implements Serializable {
	private int id;
	private String name="";
	private float base=0;
	private float eat=0;
	private float house=0;
	private float duty=0;
	private float scot=0;
	private float punishment=0;
	private float other=0;
	private float total=0;
	private Date granttime=new Date();
	private String empid;	
	private Employee employee;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getBase() {
		return base;
	}
	public void setBase(float base) {
		this.base = base;
	}
	public float getEat() {
		return eat;
	}
	public void setEat(float eat) {
		this.eat = eat;
	}
	public float getHouse() {
		return house;
	}
	public void setHouse(float house) {
		this.house = house;
	}
	public float getDuty() {
		return duty;
	}
	public void setDuty(float duty) {
		this.duty = duty;
	}
	public float getScot() {
		return scot;
	}
	public void setScot(float scot) {
		this.scot = scot;
	}
	public float getPunishment() {
		return punishment;
	}
	public void setPunishment(float punishment) {
		this.punishment = punishment;
	}
	public float getOther() {
		return other;
	}
	public void setOther(float other) {
		this.other = other;
	}
	public float getTotal() {
		return total;
	}
	public void setTotal(float total) {
		this.total = total;
	}
	public Date getGranttime() {
		return granttime;
	}
	public void setGranttime(Date granttime) {
		this.granttime = granttime;
	}
	public String getEmpid() {
		return empid;
	}
	public void setEmpid(String empid) {
		this.empid = empid;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	
}
